// 初始化样式
* {
    margin: 0;
    padding: 0;
}

li,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

body {
    width: 100vw;
    margin: 0 auto;
    background-color: #fff;
}

// 第一部分：nav导航栏
.nav {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    width: 100vw;
    height: 12vw;
    background-color: #019fe6;
    z-index: 999;

    .left {
        position: relative;
        width: 40vw;
        height: 12vw;
        font: normal normal 4.8vw/13.5vw "Microsoft YaHei";
        text-indent: 10vw;
        color: #fff;

        &::before {
            content: "";
            position: absolute;
            top: 4vw;
            left: 2vw;
            width: 6vw;
            height: 6vw;
            background: url(../images/首页icon.png) no-repeat center;
            background-size: contain;
        }
    }

    .right {
        position: absolute;
        top: 2vw;
        right: 5vw;
        width: 24vw;
        height: 8vw;
        border-radius: 4vw;
        background-color: rgba(0, 0, 0, .15);
        font: normal normal 3vw/8vw "Microsoft YaHei";
        text-align: center;
        color: #ddd;

        &::before {
            content: "";
            position: absolute;
            top: 1.5vw;
            left: 3vw;
            width: 5vw;
            height: 5vw;
            background: url(../images/更多icon.png) no-repeat center;
            background-size: contain;
        }

        &::after {
            content: "";
            position: absolute;
            top: 2vw;
            right: 4vw;
            width: 4vw;
            height: 4vw;
            background: url(../images/关闭icon.png) no-repeat center;
            background-size: contain;
        }
    }
}

// 第四部分：主体部分 
.main {
    width: 100vw;
    margin: 13vw auto 10vw;

    .title {
        position: relative;
        width: 100vw;
        background-color: #fff;
        border-bottom: 0.3vw solid #eee;
        font: normal bold 4.5vw/10vw "Microsoft YaHei";
        text-indent: 5vw;
        color: #333;
    }

    .part1 {
        border-bottom: 0.3vw solid #eee;

        .li1 {
            position: relative;
            width: 100vw;
            height: 10vw;
            font: normal normal 4vw/10vw "Microsoft YaHei";
            text-indent: 5vw;
            color: #000;

            &::before {
                content: "房间号";
                position: absolute;
                top: 0vw;
                left: 40vw;
                text-indent: 0vw;
                text-align: center;
            }

            &::after {
                content: "缺货数量";
                position: absolute;
                top: 0vw;
                left: 70vw;
                text-indent: 0vw;
                text-align: center;
            }
        }

        .li2 {
            position: relative;
            width: 100vw;
            height: 8vw;
            font: normal normal 4vw/8vw "Microsoft YaHei";
            text-indent: 5vw;
            color: #333;

            &::before {
                content: "FH1001";
                position: absolute;
                top: 0vw;
                left: 40vw;
                text-indent: 0vw;
                text-align: center;
                color: #019fe6;
            }

            &::after {
                content: "5";
                position: absolute;
                top: 0vw;
                left: 77vw;
                text-indent: 0vw;
                text-align: center;
                color: #fd4705;
            }
        }

        .li3 {
            position: relative;
            width: 100vw;
            height: 8vw;
            font: normal normal 4vw/8vw "Microsoft YaHei";
            text-indent: 5vw;
            color: #333;

            &::before {
                content: "FH1002";
                position: absolute;
                top: 0vw;
                left: 40vw;
                text-indent: 0vw;
                text-align: center;
                color: #019fe6;
            }

            &::after {
                content: "4";
                position: absolute;
                top: 0vw;
                left: 77vw;
                text-indent: 0vw;
                text-align: center;
                color: #fd4705;
            }
        }

        .li4 {
            position: relative;
            width: 100vw;
            height: 8vw;
            font: normal normal 4vw/8vw "Microsoft YaHei";
            text-indent: 5vw;
            color: #333;

            &::before {
                content: "FH1003";
                position: absolute;
                top: 0vw;
                left: 40vw;
                text-indent: 0vw;
                text-align: center;
                color: #019fe6;
            }

            &::after {
                content: "3";
                position: absolute;
                top: 0vw;
                left: 77vw;
                text-indent: 0vw;
                text-align: center;
                color: #fd4705;
            }
        }

        .li5 {
            position: relative;
            width: 100vw;
            height: 8vw;
            font: normal normal 4vw/8vw "Microsoft YaHei";
            text-indent: 5vw;
            color: #333;

            &::before {
                content: "FH1004";
                position: absolute;
                top: 0vw;
                left: 40vw;
                text-indent: 0vw;
                text-align: center;
                color: #019fe6;
            }

            &::after {
                content: "2";
                position: absolute;
                top: 0vw;
                left: 77vw;
                text-indent: 0vw;
                text-align: center;
                color: #fd4705;
            }
        }

        .li6 {
            position: relative;
            width: 100vw;
            height: 8vw;
            font: normal normal 4vw/8vw "Microsoft YaHei";
            text-indent: 5vw;
            color: #333;

            &::before {
                content: "FH1005";
                position: absolute;
                top: 0vw;
                left: 40vw;
                text-indent: 0vw;
                text-align: center;
                color: #019fe6;
            }

            &::after {
                content: "1";
                position: absolute;
                top: 0vw;
                left: 77vw;
                text-indent: 0vw;
                text-align: center;
                color: #fd4705;
            }
        }
    }

    .part2 {

        .data {
            position: relative;
            width: 100vw;
            background-color: #fff;
            font: normal bold 4vw/10vw "Microsoft YaHei";
            text-indent: 5vw;
            color: #019fe6;
        }

        .li1 {
            position: relative;
            width: 100vw;
            height: 10vw;
            font: normal normal 4vw/10vw "Microsoft YaHei";
            text-indent: 5vw;
            color: #000;

            &::before {
                content: "商品名称";
                position: absolute;
                top: 0vw;
                left: 30vw;
                text-indent: 0vw;
                text-align: center;
            }

            &::after {
                content: "缺货数量";
                position: absolute;
                top: 0vw;
                left: 70vw;
                text-indent: 0vw;
                text-align: center;
            }
        }

        .li2 {
            position: relative;
            width: 100vw;
            height: 10vw;
            font: normal normal 4vw/10vw "Microsoft YaHei";
            text-indent: 30vw;
            color: #333;

            &::before {
                content: "";
                position: absolute;
                top: 1vw;
                left: 8vw;
                width: 8vw;
                height: 8vw;
                background: url(../images/商品1.jpg) no-repeat center;
                background-size: contain;
            }

            &::after {
                content: "5";
                position: absolute;
                top: 0vw;
                left: 77vw;
                text-indent: 0vw;
                text-align: center;
                color: #fd4705;
            }
        }

        .li3 {
            position: relative;
            width: 100vw;
            height: 8vw;
            font: normal normal 4vw/8vw "Microsoft YaHei";
            text-indent: 30vw;
            color: #333;

            &::before {
                content: "";
                position: absolute;
                top: 0vw;
                left: 8vw;
                width: 8vw;
                height: 8vw;
                background: url(../images/商品2.jpg) no-repeat center;
                background-size: contain;
            }

            &::after {
                content: "4";
                position: absolute;
                top: 0vw;
                left: 77vw;
                text-indent: 0vw;
                text-align: center;
                color: #fd4705;
            }
        }

        .li4 {
            position: relative;
            width: 100vw;
            height: 8vw;
            font: normal normal 4vw/8vw "Microsoft YaHei";
            text-indent: 30vw;
            color: #333;

            &::before {
                content: "";
                position: absolute;
                top: 0vw;
                left: 8vw;
                width: 8vw;
                height: 8vw;
                background: url(../images/商品3.jpg) no-repeat center;
                background-size: contain;
            }

            &::after {
                content: "3";
                position: absolute;
                top: 0vw;
                left: 77vw;
                text-indent: 0vw;
                text-align: center;
                color: #fd4705;
            }
        }

        .li5 {
            position: relative;
            width: 100vw;
            height: 8vw;
            font: normal normal 4vw/8vw "Microsoft YaHei";
            text-indent: 30vw;
            color: #333;

            &::before {
                content: "";
                position: absolute;
                top: 0vw;
                left: 8vw;
                width: 8vw;
                height: 8vw;
                background: url(../images/商品4.jpg) no-repeat center;
                background-size: contain;
            }

            &::after {
                content: "2";
                position: absolute;
                top: 0vw;
                left: 77vw;
                text-indent: 0vw;
                text-align: center;
                color: #fd4705;
            }
        }

        .li6 {
            position: relative;
            width: 100vw;
            height: 8vw;
            font: normal normal 4vw/8vw "Microsoft YaHei";
            text-indent: 30vw;
            color: #333;

            &::before {
                content: "";
                position: absolute;
                top: 0vw;
                left: 8vw;
                width: 8vw;
                height: 8vw;
                background: url(../images/商品5.jpg) no-repeat center;
                background-size: contain;
            }

            &::after {
                content: "1";
                position: absolute;
                top: 0vw;
                left: 77vw;
                text-indent: 0vw;
                text-align: center;
                color: #fd4705;
            }
        }
    }
}

// 底部--模块
.footer {
    position: fixed;
    right: 5vw;
    bottom: 5vw;
    display: block;
    width: 20vw;
    height: 20vw;
    border-radius: 12.5vw;
    background-color: #019fe6;

    &::before {
        content: "";
        position: absolute;
        top: 2vw;
        left: 4vw;
        width: 12vw;
        height: 12vw;
        background: url(../images/扫一扫.png) no-repeat center;
        background-size: contain;
    }

    &::after {
        content: "扫码补货";
        position: absolute;
        top: 9vw;
        left: 3.7vw;
        font: normal normal 3.2vw/12vw "Microsoft YaHei";
        color: #fff;
    }
}